export function getSignStatus(status, json = {}) {
    let result = '';
    if (status === '1' || status === 1) {
        result = json['6040-000042'] || '迟到';
    } else if (status === '2'|| status === 2) {
        result = json['6040-000043'] || '早退';
    } else if (status === '3'|| status === 3) {
        result = json['6040-000044'] || '缺卡';
    } else if (status === '4'|| status === 4) {
        result = json['6040-000045'] || '旷工';
    }
    return result;
}

export function getFillStatus(status, json = {}) {
    let result = '';
    if (status === '0') {
        result = json['6040-000020'] || '提交';
    } else if (status === '1') {
        result = json['6040-000046'] || '已同意';
    } else if (status === '2') {
        result = json['6040-000047'] || '已驳回';
    } else if (status === '3') {
        result = json['6040-000048'] || '审批不通过';
    } else if (status === '4') {
        result = json['6040-000049'] || '审批中';
    } else if (status === '14') {
        result = json['6040-000050'] || '已撤回';
    }
    return result;
}